package com.dcy.znoa.dao.publiz;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.dcy.znoa.domain.publiz.Company;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompanyDao extends BaseMapper<Company>{

    Integer connectToEstate(@Param("esId")Long esId, @Param("operId")Long operId,@Param("listIds") List<String> listIds);

    Integer setValidFlag(@Param("validFlag")Integer validFlag , @Param("operId")Long operId,@Param("listIds") List<String> listIds);

    Integer untieToEstate(@Param("operId")Long operId,@Param("listIds") List<String> listIds);
}
